import React from 'react'
import ReactDOM from 'react-dom'

import Common1 from './views/01父子传值'
import Common2 from './views/02父子传值练习'
import Common3 from './views/03兄弟传值'
import Common4 from './views/04祖孙传值'

class App extends React.Component {
  render() {
    return (
      <div>
        <Common1></Common1>
        <Common2></Common2>
        <Common3></Common3>
        <div style={{ height: '20px' }}></div>
        <Common4></Common4>
      </div>
    )
  }
}

ReactDOM.render(<App />, document.getElementById('root'))
